package jobs.controller;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import jobs.controller.facade.ControllerFacade;
import jobs.ejb.RolFacade;
import jobs.model.Rol;

/**
 * Controlador para Rol
 *
 * @author Paul Tamayo
 */
@ManagedBean
@SessionScoped
public class RolController extends ControllerFacade<Rol> {

    @EJB
    private RolFacade facade;

    public RolController() {
        super(Rol.class);
    }

    @Override
    public RolFacade getFacade() {
        return facade;
    }
}
